package com.songlin.houxin.admin.api.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.songlin.pig.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName Region.java
 * @Description <p></p>
 * @createTime 2022-03-12 06:38:00
 */
@Data
@TableName("t_region")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "地区表")
public class Region extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 地区名称
     */
    @ApiModelProperty(value = "地区名称")
    private String name;

    /**
     * 选择状态
     */
    @ApiModelProperty(value = "选择状态")
    private Integer selectStatus;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private Integer type;

    /**
     * 所属大区
     */
    @ApiModelProperty(value = "所属大区")
    private String areaRegion;

    /**
     * 英文名称
     */
    @ApiModelProperty(value = "英文名称")
    private String wholeSpell;

    /**
     * 简称
     */
    @ApiModelProperty(value = "简称")
    private String simpleSpell;


}

